﻿using FreeSql.DataAnnotations;
using ManaSky.DBCore.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Xml.Linq;

namespace ManaSky.Entity
{
    /// <summary>
    /// 系统表
    /// </summary>
    [Description("系统表"), Table(Name = "sys_product")]
    public class sys_product : VersionEntity
    {
        /// <summary>
        /// 系统标识
        /// </summary>
        [Column(Name = "code")]
        public string Code { get; set; } = string.Empty;
        /// <summary>
        /// 系统名称
        /// </summary>
        [Column(Name = "name")]
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 描述
        /// </summary>
        [Column(Name = "description")]
        public string Description { get; set; } = string.Empty;
        /// <summary>
        /// 是否禁用 1 禁用 0未禁用
        /// </summary>
        [Column(Name = "is_enable")]
        public int IsEnable { get; set; } = 0;
    }
}
